package com.infore.airsupervise.bean;

import java.io.Serializable;
import java.util.List;

/**
 * @features:  现场执法记录 实体类
 * @author: WuTao
 * @date: 2017/5/12 09:32
 */
public class LawingSiteE extends BaseEntity {
    //基本信息
    private int _id; //数据库存储 主键
    private int id ;
    private String missionId; //管理的任务id
    private String mn; //关联的mn号
    private String name;
    private String time;
    private PolluterE polluterE; //关联的污染源信息

    //分类信息
    private List<RecorderJC> recorderJCList;
    private List<NotesJC> notesJCList;
    private List<NotesAsk> notesAskList;
    private Evidence evidence; //执法取证
    private List<String> signatureCom ;//企业人员签名
    private List<String> signaturePson ;//执法人员签名

    public PolluterE getPolluterE() {
        return polluterE;
    }

    public void setPolluterE(PolluterE polluterE) {
        this.polluterE = polluterE;
    }

    public int get_id() {
        return _id;
    }

    public void set_id(int _id) {
        this._id = _id;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public List<NotesAsk> getNotesAskList() {
        return notesAskList;
    }

    public void setNotesAskList(List<NotesAsk> notesAskList) {
        this.notesAskList = notesAskList;
    }

    public List<NotesJC> getNotesJCList() {
        return notesJCList;
    }

    public void setNotesJCList(List<NotesJC> notesJCList) {
        this.notesJCList = notesJCList;
    }

    public List<RecorderJC> getRecorderJCList() {
        return recorderJCList;
    }

    public void setRecorderJCList(List<RecorderJC> recorderJCList) {
        this.recorderJCList = recorderJCList;
    }

    public String getMissionId() {
        return missionId;
    }

    public void setMissionId(String missionId) {
        this.missionId = missionId;
    }

    public String getMn() {
        return mn;
    }

    public void setMn(String mn) {
        this.mn = mn;
    }

    public Evidence getEvidence() {
        return evidence;
    }

    public void setEvidence(Evidence evidence) {
        this.evidence = evidence;
    }

    public List<String> getSignatureCom() {
        return signatureCom;
    }

    public void setSignatureCom(List<String> signatureCom) {
        this.signatureCom = signatureCom;
    }

    public List<String> getSignaturePson() {
        return signaturePson;
    }

    public void setSignaturePson(List<String> signaturePson) {
        this.signaturePson = signaturePson;
    }

    /**
     * 现场监察记录
     */
    public static class RecorderJC implements Serializable{
        private int id ;
        private List<UserE> inspectPson ;//检查人(多人)
        private String wasteLicence; //排污许可证
        private String leaderName;//现场负责人
        private String leaderPosition;//负责人职务
        private String leaderPhone;//负责人电话
        private String supervise;//监察内容
        private String produceStatus; //生产状态
        private String examineFail; //未经环评审批的新建项目
        private String threeTogether; //未执行“三同时”建设项目
        private String buildAndAccept;//污染设施建设、验收和运行情况
        private String systemInstall;//自动监控系统安装情况
        private String systemOperate;//自动监控系统运行情况
        private String systemInternet;//自动监控系统联网情况
        private String systemAccept;//自动监控系统验收情况
        private String onlineData;//在线监测数据
        private String waterLet;//废水排放情况
        private String airLet;//废气排放情况
        private String defaultWaste;//一般固废
        private String defaultTransfer;//一般固废暂存转移
        private String dangerWaste;//危险废物
        private String dangerTransfer;//危险固废暂存转移
        private String toteOffice;//环保管理机构
        private String wasteLedger;//污染设施运行台账
        private String emergencyCase;//环境应急预案
        private String conclusion;//现场检查结论
        private String detailRequire;//处理意见及相关要求

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public List<UserE> getInspectPson() {
            return inspectPson;
        }

        public void setInspectPson(List<UserE> inspectPson) {
            this.inspectPson = inspectPson;
        }

        public String getWasteLicence() {
            return wasteLicence;
        }

        public void setWasteLicence(String wasteLicence) {
            this.wasteLicence = wasteLicence;
        }

        public String getAirLet() {
            return airLet;
        }

        public void setAirLet(String airLet) {
            this.airLet = airLet;
        }

        public String getBuildAndAccept() {
            return buildAndAccept;
        }

        public void setBuildAndAccept(String buildAndAccept) {
            this.buildAndAccept = buildAndAccept;
        }

        public String getConclusion() {
            return conclusion;
        }

        public void setConclusion(String conclusion) {
            this.conclusion = conclusion;
        }

        public String getDangerTransfer() {
            return dangerTransfer;
        }

        public void setDangerTransfer(String dangerTransfer) {
            this.dangerTransfer = dangerTransfer;
        }

        public String getDangerWaste() {
            return dangerWaste;
        }

        public void setDangerWaste(String dangerWaste) {
            this.dangerWaste = dangerWaste;
        }

        public String getDefaultTransfer() {
            return defaultTransfer;
        }

        public void setDefaultTransfer(String defaultTransfer) {
            this.defaultTransfer = defaultTransfer;
        }

        public String getDefaultWaste() {
            return defaultWaste;
        }

        public void setDefaultWaste(String defaultWaste) {
            this.defaultWaste = defaultWaste;
        }

        public String getDetailRequire() {
            return detailRequire;
        }

        public void setDetailRequire(String detailRequire) {
            this.detailRequire = detailRequire;
        }

        public String getEmergencyCase() {
            return emergencyCase;
        }

        public void setEmergencyCase(String emergencyCase) {
            this.emergencyCase = emergencyCase;
        }

        public String getExamineFail() {
            return examineFail;
        }

        public void setExamineFail(String examineFail) {
            this.examineFail = examineFail;
        }

        public String getLeaderName() {
            return leaderName;
        }

        public void setLeaderName(String leaderName) {
            this.leaderName = leaderName;
        }

        public String getLeaderPhone() {
            return leaderPhone;
        }

        public void setLeaderPhone(String leaderPhone) {
            this.leaderPhone = leaderPhone;
        }

        public String getLeaderPosition() {
            return leaderPosition;
        }

        public void setLeaderPosition(String leaderPosition) {
            this.leaderPosition = leaderPosition;
        }

        public String getOnlineData() {
            return onlineData;
        }

        public void setOnlineData(String onlineData) {
            this.onlineData = onlineData;
        }

        public String getProduceStatus() {
            return produceStatus;
        }

        public void setProduceStatus(String produceStatus) {
            this.produceStatus = produceStatus;
        }

        public String getSupervise() {
            return supervise;
        }

        public void setSupervise(String supervise) {
            this.supervise = supervise;
        }

        public String getSystemAccept() {
            return systemAccept;
        }

        public void setSystemAccept(String systemAccept) {
            this.systemAccept = systemAccept;
        }

        public String getSystemInstall() {
            return systemInstall;
        }

        public void setSystemInstall(String systemInstall) {
            this.systemInstall = systemInstall;
        }

        public String getSystemInternet() {
            return systemInternet;
        }

        public void setSystemInternet(String systemInternet) {
            this.systemInternet = systemInternet;
        }

        public String getSystemOperate() {
            return systemOperate;
        }

        public void setSystemOperate(String systemOperate) {
            this.systemOperate = systemOperate;
        }

        public String getThreeTogether() {
            return threeTogether;
        }

        public void setThreeTogether(String threeTogether) {
            this.threeTogether = threeTogether;
        }

        public String getToteOffice() {
            return toteOffice;
        }

        public void setToteOffice(String toteOffice) {
            this.toteOffice = toteOffice;
        }

        public String getWasteLedger() {
            return wasteLedger;
        }

        public void setWasteLedger(String wasteLedger) {
            this.wasteLedger = wasteLedger;
        }

        public String getWaterLet() {
            return waterLet;
        }

        public void setWaterLet(String waterLet) {
            this.waterLet = waterLet;
        }
    }

    /**
     * 检查笔录
     */
    public static class NotesJC implements Serializable{
        private int id ;
        //基本信息
        private String startTime;//开始时间
        private String endTime;//结束时间
        private String address;//地点
        private List<UserE> inspectPson ;//检查人(多人)
        private List<UserE>  notePson; //记录人（多人）
        private String unit; //工作单位
        private String leaderName ; //现场负责人姓名
        private String leaderAge ; //现场负责人年龄
        private String identify ; //身份证
        private String company; //被检查单位
        private String position; //职位
        private String relationship ;//与本案关系
        private String addressInspect ;// 检查地点
        private String postCode ; //邮编
        private String phone; //电话
        private String others; //其他参加人和工作单位
        private int evite ; // 1 清楚了 不回避 0 申请回避
        private String eviteReason;// 回避原因
        //笔录模板
        private List<NoteModel> noteModels;  //一问一答的形式

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getUnit() {
            return unit;
        }

        public void setUnit(String unit) {
            this.unit = unit;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getAddressInspect() {
            return addressInspect;
        }

        public void setAddressInspect(String addressInspect) {
            this.addressInspect = addressInspect;
        }

        public String getCompany() {
            return company;
        }

        public void setCompany(String company) {
            this.company = company;
        }

        public String getEndTime() {
            return endTime;
        }

        public void setEndTime(String endTime) {
            this.endTime = endTime;
        }

        public int getEvite() {
            return evite;
        }

        public void setEvite(int evite) {
            this.evite = evite;
        }

        public String getEviteReason() {
            return eviteReason;
        }

        public void setEviteReason(String eviteReason) {
            this.eviteReason = eviteReason;
        }

        public String getIdentify() {
            return identify;
        }

        public void setIdentify(String identify) {
            this.identify = identify;
        }

        public List<UserE> getInspectPson() {
            return inspectPson;
        }

        public void setInspectPson(List<UserE> inspectPson) {
            this.inspectPson = inspectPson;
        }

        public String getLeaderAge() {
            return leaderAge;
        }

        public void setLeaderAge(String leaderAge) {
            this.leaderAge = leaderAge;
        }

        public String getLeaderName() {
            return leaderName;
        }

        public void setLeaderName(String leaderName) {
            this.leaderName = leaderName;
        }

        public List<NoteModel> getNoteModels() {
            return noteModels;
        }

        public void setNoteModels(List<NoteModel> noteModels) {
            this.noteModels = noteModels;
        }

        public List<UserE> getNotePson() {
            return notePson;
        }

        public void setNotePson(List<UserE> notePson) {
            this.notePson = notePson;
        }

        public String getOthers() {
            return others;
        }

        public void setOthers(String others) {
            this.others = others;
        }

        public String getPosition() {
            return position;
        }

        public void setPosition(String position) {
            this.position = position;
        }

        public String getPostCode() {
            return postCode;
        }

        public void setPostCode(String postCode) {
            this.postCode = postCode;
        }

        public String getRelationship() {
            return relationship;
        }

        public void setRelationship(String relationship) {
            this.relationship = relationship;
        }

        public String getStartTime() {
            return startTime;
        }

        public void setStartTime(String startTime) {
            this.startTime = startTime;
        }
    }

    /**
     * 询问笔录
     */
    public static class NotesAsk implements Serializable{
        private int id ;
        private String startTime;//开始时间
        private String endTime;//结束时间
        private String address;//地点
        private String reason;//案由
        private List<UserE> inspectPson ;//检查人(多人)
        private List<UserE>  notePson; //记录人（多人）
        private String answerName;//被询问人姓名
        private String answerAge;//被询问人年龄
        private String company;//被询问人单位
        private String identify ; //身份证
        private String position; //职位
        private String relationship ;//与本案关系
        private String addressInspect ;// 检查地点
        private String postCode ; //邮编
        private String phone;// 电话
        private String others; //其他参加人和工作单位
        private int evite ; // 1 清楚了 不回避 0 申请回避
        private String eviteReason;// 回避原因

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        //笔录模板
        private List<NoteModel> noteModels;  //一问一答的形式

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getAddressInspect() {
            return addressInspect;
        }

        public void setAddressInspect(String addressInspect) {
            this.addressInspect = addressInspect;
        }

        public String getAnswerAge() {
            return answerAge;
        }

        public void setAnswerAge(String answerAge) {
            this.answerAge = answerAge;
        }

        public String getAnswerName() {
            return answerName;
        }

        public void setAnswerName(String answerName) {
            this.answerName = answerName;
        }

        public String getCompany() {
            return company;
        }

        public void setCompany(String company) {
            this.company = company;
        }

        public String getEndTime() {
            return endTime;
        }

        public void setEndTime(String endTime) {
            this.endTime = endTime;
        }

        public int getEvite() {
            return evite;
        }

        public void setEvite(int evite) {
            this.evite = evite;
        }

        public String getEviteReason() {
            return eviteReason;
        }

        public void setEviteReason(String eviteReason) {
            this.eviteReason = eviteReason;
        }

        public String getIdentify() {
            return identify;
        }

        public void setIdentify(String identify) {
            this.identify = identify;
        }

        public List<UserE> getInspectPson() {
            return inspectPson;
        }

        public void setInspectPson(List<UserE> inspectPson) {
            this.inspectPson = inspectPson;
        }

        public List<NoteModel> getNoteModels() {
            return noteModels;
        }

        public void setNoteModels(List<NoteModel> noteModels) {
            this.noteModels = noteModels;
        }

        public List<UserE> getNotePson() {
            return notePson;
        }

        public void setNotePson(List<UserE> notePson) {
            this.notePson = notePson;
        }

        public String getOthers() {
            return others;
        }

        public void setOthers(String others) {
            this.others = others;
        }

        public String getPosition() {
            return position;
        }

        public void setPosition(String position) {
            this.position = position;
        }

        public String getPostCode() {
            return postCode;
        }

        public void setPostCode(String postCode) {
            this.postCode = postCode;
        }

        public String getReason() {
            return reason;
        }

        public void setReason(String reason) {
            this.reason = reason;
        }

        public String getRelationship() {
            return relationship;
        }

        public void setRelationship(String relationship) {
            this.relationship = relationship;
        }

        public String getStartTime() {
            return startTime;
        }

        public void setStartTime(String startTime) {
            this.startTime = startTime;
        }
    }

    /**
     *  笔录问答实体类
     */
    public static class NoteModel implements Serializable{
        private String question;
        private String answer;

        public String getQuestion() {
            return question;
        }

        public void setQuestion(String question) {
            this.question = question;
        }

        public String getAnswer() {
            return answer;
        }

        public void setAnswer(String answer) {
            this.answer = answer;
        }
    }
    /**
     * 执法取证
     */

    public static  class Evidence implements Serializable{
        private double lat; //经度
        private double lnt; //纬度
        private String address ; //
        private String pson; //人员
        private List<String> files; //文件

        public double getLat() {
            return lat;
        }

        public void setLat(double lat) {
            this.lat = lat;
        }

        public double getLnt() {
            return lnt;
        }

        public void setLnt(double lnt) {
            this.lnt = lnt;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getPson() {
            return pson;
        }

        public void setPson(String pson) {
            this.pson = pson;
        }

        public List<String> getFiles() {
            return files;
        }

        public void setFiles(List<String> files) {
            this.files = files;
        }
    }

    /**
     * 格式化的记录实体类
     */
    public static class RecordFormat implements Serializable{
        private int id ;
        private int type ;

        public RecordFormat(int id, int type) {
            this.id = id;
            this.type = type;
        }

        public RecordFormat() {
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }
    }
}
